<template>
  <div class="h-full w-full overflow-auto">
    <Layer v-if="layout.showLayer"></Layer>
    <Component v-if="layout.showComponent"></Component>
  </div>
</template>

<script lang="ts" setup>
import Layer from "./Layer/index.vue";
import Component from './Component/index.vue'
import { useLayout } from "@/stores/datav/layout";
import { ILayout } from "@/stores/datav/types";
const layout: ILayout = useLayout();
</script>

<style scoped></style>
